home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 22 code / Futures / FutureShock / Main.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-27  |  747 b   |  28 lines  |  [TEXT/MMCC]

  1. #ifndef __MAIN__
  2. #define __MAIN__
  3.  
  4. #ifndef __THREADS__
  5. #include <Threads.h>
  6. #endif
  7.  
  8. /*
  9. // Globals defined in this file:
  10. */
  11. extern Rect                gUniverseRect;
  12. extern RgnHandle        gUniverseRgn;
  13. extern RgnHandle        gScratchRgn;
  14. extern GrafPtr            gWindowMgrPort;
  15.  
  16. extern SysEnvRec        gThisMacintosh;
  17. extern Boolean            gHasAppleEvents;
  18.  
  19. /*
  20. // Prototypes from 'Main.c'
  21. */
  22. void                    main(void);
  23. OSErr                    ExitProgram(CWindowPtr window, short item);
  24. pascal OSErr            ThreadCreateNotifyHandler(ThreadID createdThread, long threadCreateRefcon);
  25. OSErr                    NewThreadWithNotification(ThreadStyle threadStyle, ThreadEntryProcPtr threadEntry, void *threadParam, Size stackSize, ThreadOptions options, void **threadResult, ThreadID *threadMade, long threadCreateRefcon);
  26.  
  27. #endif
  28.